-- GENERATED SPELL FOR [Mammoth Shark] --


function spell0_12125(pUnit, Event) --@Thrash,Self--
pUnit:FullCastSpellOnTarget(3391,pUnit)
pUnit:RegisterEvent('Sorts_12125', 569, 1)
end

function Sorts_12125(pUnit, Event)
local choix_sorts_12125 = math.random(0, 0)
if choix_sorts_12125 == 0 then
pUnit:RegisterEvent('spell0_12125', 1, 1)
end
end

function mob12125_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_12125', math.random(1500, 3000), 1)
end

function mob12125_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12125_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12125_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(12125, 1, 'mob12125_Action')
RegisterUnitEvent(12125, 2, 'mob12125_Leave')
RegisterUnitEvent(12125, 3, 'mob12125_Kill')
RegisterUnitEvent(12125, 4, 'mob12125_Die')
